Added doctrine orm. Added doctrine orm commands for cli. Updated entity tests to work with doctrine entity.