Add pybossa.url var to configure endpoint
Add pybossa.setEndpoint method. Closes #10

This commit allows the developers to set the endpoint once and then,
run the methods they want. This is a refactoring commit.
Merge pull request #11 from PyBossa/issue-10-configure-endpoint

Issue 10 configure endpoint