Initial stab at writing docs

Used sphinx so the docs could be hosted at Read the Docs.

Closes #41 and #54 .
The type actually depends on the arguments to open - opening a file in binary mode returns a `BufferedReader`. I think it's best just to say that the returned file handle may behave differently.