Style Cleanup of library

Very basic (search and replace) style cleanup to match MediaWiki style.

Change-Id: I3b718ff4a4f46cc367936a3369891ab0441f1133