added edit command that uses the system EDITOR
Merge pull request #27 from bdupras/editor2

- adds $EDITOR and $VISUAL support
- bumps WSAPI version to 1.42
- adds some general purpose methods for retrieving a single artifact and typedef by FormattedID without using the adhoc.js endpoint (not supported in WSAPI 2.x).