INFRA-132 Continuously enforce style guidelines
See: http://forum.civicrm.org/index.php/topic,35312.0.html
Subtasks:
- Add phpcs, coder, and jshint to buildkit.
- Perform the automated cleanup (phpcbf).
- Spend several hours alternately (a) relaxing the style rules further, (b) running some regex/throw-away scripts, and (c) manually addressing problems to get the remaining code to a passing point.
- Add a command "bin/civilint" which executes "phpcs" and "jshint" (http://wiki.civicrm.org/confluence/display/CRMDOC/Javascript+Reference) with the appropriate standards. (The script should work out to 5-20 SLOC.)
- Encourage developers to run "bin/civilint" on their workstations before submitting PRs.
- Update Jenkins to run "bin/civilint" whenever testing PRs on master/v4.6+.