File open/close

- Modified file open/close to use lexical file handles and the safer three-
  argument form.
Auto-commit (bumped revision)
More sophisticated EDITOR selection
Auto-commit (bumped revision)
Fixed OSX issue with "-V"

OSX's open command apparently doesn't support the --version argument or
something similar.
Auto-commit (bumped revision)
Examples

Added "templates" use case.