The PLUTO Code for Adaptive Mesh Computations in Astrophysical Fluid Dynamics