Updating grunt-jsbeautifier.

Now using grunt-jsbeautifier version 0.2.2.
Updating files with the new format.
Adding a check during test that files are correctly beautified.