Add REST API endpoint to get ports (needed for port forwarding).

Output example:

    curl  "http://node1.domain.com/token/__test__/container/ports?r=0001"
    [{"Internal":8080,"External":4343}]

Only exposed ports are available for forwarding. Syntax is

    ssh -L <local port>:127.0.0.1:<External port> user@hostname

Example:

    ssh -L 9000:127.0.0.1:4343 gear-0001@node1.domain.com

This would connect 9000 on the local machine to port 8080 on the gear.
Merge pull request #63 from kraman/get_ports

Add REST API endpoint to get ports (needed for port forwarding).
Add delete container, try to simplify some edge cases

(halfway through making create fail on port changes)
Merge pull request #64 from smarterclayton/support_delete

Add delete container, try to simplify some edge cases
Separate out core code from extension packages
Describe install more clearly

Only start the socket
Hide prefix on log show
Merge pull request #65 from smarterclayton/add_api_extensions

Separate out core code from extension packages
Enabling routing/forwarding in the network namespace.
Allow jobs to be marshalled across HTTP
Merge pull request #66 from mrunalp/dev/enable_routing

Enabling routing/forwarding in the network namespace.
Merge pull request #67 from smarterclayton/prepare_for_remote_api

Allow jobs to be marshalled across HTTP
Support simple response retrieval for install, stop, start
Describe gear start/stop/install
Modify running commands, switch to daemon instead of -d
Fix local installation
Merge pull request #68 from smarterclayton/support_simple_response_retrieval

Support simple response retrieval for install, stop, start
Fix typos
Merge pull request #69 from pmorie/typo

Fix typos
Print data returned by install