Accept trailing / in API URL

Fix MN-190

Signed-off-by: Tomoe Sugihara <tomoe@midokura.com>
Merge pull request #46 from gontanon/m/trailing-slash

Accept trailing / in API URL