Initial commit

This is a direct port of brightmarch/majorapi-php-sdk. I'll publish to the python package index after its merged in.