CouchDB host and Port configurable from command line + Vagrant

- couch db host and port made configurable from command line. Defaults still work. Command line api changed to 
  ./apply2 [-dbhost <hostname>] [-dbport <port>] ...

- Vagrant setup for Ubuntu 12.04 added