Converting to Doctrine2 and removing blobs, closes #17, closes #20.