[DRAFT] Add support for HTTP Basic Auth to http.js

This change illustrates the idea of extending get(..), post(..) etc.
with additional username, and password arguments to use the
XMLHttpRequest.open support for basic authentication
Merge pull request #66 from dulichan/master

Bug fixes and improvements for carbon user module
adding sync for jaggery
adding application.serve()
enabling customizable routing module
closing PreparedStatement
Merge branch 'master' of https://github.com/wso2/jaggery