add jsonp support, refactor for olinauth,  lots of code cleanup for PEP8.