Trailing slash in AutoAPI URI is now optional

Now, for example, both `/todo/` and `/todo` will match. This makes
it play nice with AngularJS's $resource.