Core pr 4

Updated coding style and documentation.
Updated the module to use OG 2.x and fixes side effect of this change.
Fixed bugs :-)
I have created [a case for this on DDB CMS](http://platform.dandigbib.org/issues/413).