Fix some errors and needless debug statements

- Check that args is valid in HttpLib
- Misisng var declaration in Utils
- Remove needless debug statements in Promises
Merge branch 'master' of github.com:iBeliever/qml-extras