Solution 1:

Manetti's online notes are among the best introductions to moduli theory: they contain some very explicit and down-to-earth calculations, like the determination of the deformations of the Segre-Hirzebruch surfaces.

Since you have been studying Hartshorne's Algebraic Geometry book, you might like his notes on deformation theory, which are more algebraic than Manetti's (they have become a Springer book , but the free online notes are not very different: exercises have been added to the book and that's about it).

If you are ambitious you could try (maybe a little later) the very comprehensive treatise by a respected specialist : Sernesi's Deformations of algebraic schemes , volume 334 in Springer's prestigious series Grundlehren der Mathematischen Wissenschaften .

If you are interested in moduli of vector bundles on algebraic varieties, here is an online introduction by Miró-Roig.

And if you want to learn, more generally, about moduli spaces of coherent sheaves, just download the book by Huybrechts-Lehn :
www.math.uni-bonn.de/people/huybrech/moduli.ps

Good luck!

Solution 2:

If you haven't already read it, an excellent book to study after Hartshorne, which moves in the direction you are interested in, is Mumford's Lectures on curves an algebraic surface. In this text, Mumford doesn't go as far as defining the moduli space of curves; rather, he studies families of curves on a given surface. But in doing so, he introduces (with complete proofs of their existence) Hilbert schemes and Picard schemes, which are basic tools in the rigorous study of moduli problems.

Another very nice Mumford text (an article this time, not a whole book) is Picard groups of moduli problems. This is the first place that the moduli stack of genus $g$ curves appears (although it is not so named in this paper). You could combine this with the famous paper of Deligne and Mumford on irreducibility of the moduli of curves, to get an introduction to the subject.

I haven't read Hartshorne's deformation theory notes, but I imagine that the above mentioned texts would make a good complement to them. (In case you haven't read anything by Mumford, it is worth mentioning that he is one of the great expositors as well as one of the great geometers, which is why I am so enthusiastic in recommending his writings!)