Docs + Visibility + Braces

 - adds head docs to methods and functions

 - adds visibility to methods

 - adds missing braces for [single line blocks](https://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/)