Extract HTTP version from logs
Filter out None values before converting to json
Fix cli.read_input for stdin

Initially it returned the lines whereas the stdin object was the correct
thing to return
Completely rewrite logan.py

This script can now be used along with other log utils such as log2json
etc. docopt is used for parsing arguments and overall improvements done.