Adhere to WP coding standards

Coding standard corrections for brace style, indentation, naming conventions, space usage, and yoda conditions.
Text domain name fix to match official plugin name
Removing TEXT_DOMAIN constant usage in favor of text domain string
Fixing PHP strict standards notice

Only variables should be passed by reference. The `get_posts()` results need to be assigned to a var first before passing through `array_shift`.
Eliminate strict standards notice
Merge branch 'master' of github.com:x-team/wp-settings-revisions

Conflicts:
	php/post-type.php