generate version file if not present
extract out most of the script to core module
add tests
don't print headers for additional files
add wholename match option
clean up some function signatures and docstrings
don't return all fields for empty search
ignore and retain blank lines
DOC: update install methods
add changelog for 0.2.0