fix resources basepath not starting with protocol:// & fix tumblr getPosts

Signed-off-by: Arnaud Richard <a.richard@webshell.io>
Merge branch 'master' of github.com:webshell/APIs
Merge branch 'master' of github.com:webshell/APIs