Added examples of $.form2JSON.

Added examples showing how to use $.form2JSON.
Removed promises.js and xhr.js. These are in branch “promises”. These
are an implementation of ECMAScript 6 promises, with the Ajax methods
rewritten to use them.