rename variables and methods to match URI

- protocol -> scheme
- uri -> path
- param -> key
etc
pep8
Merge pull request #13 from kissmetrics/naming

Use proper URI naming conventions and follow PEP8
Include recent changes from master