Various fixes

Remove unused code.

Clean up compiler warnings.

Add gearBaseDir option (default to /var/lib/openshift).
Update readme with sample config.