Allow user to set custom DSTK API

User can set custom API (to a local clone of the DSTK server, for
example) by setting the `RDSTK_api_base` option.
Merge pull request #1 from andrewheiss/master

Use custom API