remove unused imports
another typo
Implement IntSetting
Add support for a history file

The default location is ~/.tiget_history. The location can be changed by
the core.history_file setting and the history line limit can be changed
in core.history_limit
remove unused imports from tiget.main
Add argument to main function to prevent loading of default args
Add option to main to set an option for the current invocation