First blast at API

Also changed pothole create to throw exceptions
This will probably break other stuff...
Merge remote-tracking branch 'upstream/master'
Default credentials
Incorporating code review changes
Changing max to min, because that's what I originaly meant
Merge pull request #4 from TheEwok/master

Round Twoooooooo!