fix classmap generator
make doctrine json storage plugins more testable -more fixes
breakout json doctrine controller for better testing and extendability