Major refactoring and Docker 1.0 compatibility
Update README to reflect API changes
Fix link to test cases
Minor fixes