Allow customization of the API resources prefix.

Fixes #104.