Core pr 4

Updated coding style and documentation.
Merge with PH libraries.

I have created[ a ticket for this](http://platform.dandigbib.org/issues/542).