Fix bin/executable and test file created by `bundle gem`.

Currently when using bundler to create a new gem, the executable is created without `lib` being added to the `LOAD_PATH` which makes the require fail. Also the generated test file tries to require the test helper that fails. This pull request fixes these issues.

The pull request also makes the generated bin/executable executable.