FIX: Remove format.escapeAndEncode method, and replace with encodeURIComponent where appropriate
NEW: Update the version of Solr to 4.9.1 used in travis.ci.