Fixed flake8 complaints.
A proper LICENSE and AUTHORS file.  Add yourself to AUTHORS if I have missed you out!

--HG--
extra : source : fed10d7d0af2eccc4b0363dc391d966cf4d6c946
Merge pull request #107 from petteraas/lint_fixes

Fixed flake8 complaints.
Fix rst formatting
Standardized queue (reading + manipulating) related functions to zero-based indexing.