Wrap lines and fix comments

Maximum line length is now 80 chars.

Comments are more consistently formatted and generally go before the
code they reference.
Relocate comments and remove superfluous code.
Refactor bandwidthError
Handle errors better and more refactoring

Refactor into getContainingPlaylist. It takes strange arguments, but it
reduces the length of main so it must be good.
Convert bandwidthError to exception

Also, change the error number format. Bitwise makes more sense.
Add NoConnection and UnknownHttpStatus
Refactor getRawUrl
Refactor downloadToFile
Checkout .gitignore from master
Merge branch 'devel'

Might as well.