Rework Mapfishapp's testsuite

Modifying ClassifierCommandTest to use directly a JSONObject instead of
building it with a StringBuilder.