add Gemfile and fix load paths

- add Gemfile to enable use of Bundler
- fix load paths to allow cli to be used from development tree
- add .gitignore