added option to cache_command to control cache period
added some useful aliases
cleaned up the completion code a little bit

Still need to allow integration with bashcompletion libraries, but this is a step in the right direction.