Fixed error handling when https-request fails early.
resolved some jslint warnings
Merge remote-tracking branch 'qbit/master'

Conflicts:
	lib/pushover.js
Merge pull request #12 from sweetpi/master

Fixed error handling when https-request fails early