Add minimal GNU getopt replacement
Make things more protable

Damn those people and their werd BSDisch systems.

Turn out though that we don't need vagrant to run docker on OSX at
least boot2docker works just fine there.
More fixes
Cleanup