Move the OS notifications to ShutdownChannel out of WaitForSignal
Bugfix -- ShutdownChannel now starts out initialized, not just declared
Edit readme to reflect new initialization of ShutdownChannel
Remove intialization of ShutdownChannel from tests
Create LICENSE
Update License year
Merge pull request #4 from lionelbarrow/master

Fixed initialization bug; slight change to management of signals.
Add Go syntax highlighting to README
Add Go syntax highlighting to README
Update README.md

It looks like the order of arguments was accidentally reversed.
Merge branch 'master' of github.com:lionelbarrow/manners
Merge pull request #6 from zhubert/patch-1

Update README.md
Began refactoring
Some later refactorings
Make server.Shutdown public so users can pass values to it directly
Rewrite README
Merge with BT origin
Allow users to create their own NewListeners
Add call to wg.Wait() before returning from Serve(), fix test

http.Serve does not wait for requests to finish, so we have to wait
for the GracefulServer's WaitGroup to reach zero, or the process will
exit and in-flight routines will be killed.

Signed-off-by: Evan Owen <kainosnoema@gmail.com>
Ensures the FinishRoutine is only called once per instance

This fixes a crash where the HTTP server might close the client
connection during a transfer (via the chunkWriter for example) and might
call Close() again after completion, resulting in a crash:
    sync: negative WaitGroup counter