Added Bower support, changed protocol of the API endpoint to https and updated unit tests