Improved REPL & module documentation

* Uses argparse to validate arguments passed to the REPL.
* Enables tab-completion in the REPL.
* Adds rudimentary doc-strings to most of the methods in the `Pebble` class
* Fixes broken log_handler.