Merge pull request #81 from mastercoin-MSC/master

Sync to Master
Use local functions instead of requests to query api
Merge pull request #1032 from achamely/master

Update api to use local functions instead of url requests