Added automatic identification of categories to batch add. #16.

Also:
* Cleaned the batch parsing in curo-client/script/batch.js
* Fixed a save function for batch add of new transactions.
* Converted the return value from the parser from a non-
  informative array to objects.

Note that these changes correspond to the changes made in f5bcefc2 b65db067a5 7ca6ec73f9