Move out constant api prefix to Client

This is part of [task for enabling access to enterprise github](https://github.com/drone/drone/issues/17) from drone.