Fix cowboy_websocket_handler callback spec
Replace terminate/2 with terminate/3, adding a Reason

This should have been done a *long* time ago, back when I initially
added Websocket support. This is the first part of two in improving
loop handler support with regards to socket closure.

Reason may include: {normal, shutdown} for the most normal shutdown,
{normal, timeout} for a loop handler timeout shutdown, or {error, _}
if an error occured.
Do not require inets for running tests anymore
Make cowboy_static use universal time
Merge branch 'master' of https://github.com/0x00F6/cowboy
Do not crash if connection is closed while sending static file
Fix handler state change in cowboy_rest
Add HTML5 Video Example to the static example
Merge branch 'fix_change_state' of https://github.com/nevar/cowboy
Implement authorization header parsing

Basic HTTP authorization according to RFC 2617 is implemented.
Added an example of its usage with REST handler.
UserId and Password parsing according rfc
Remove unused case clause
Fix indentation
Cosmetic fixes