Merge pull request #2 from SamuelCook/master

Replaced hardcoded call to vi with $EDITOR to allow the user to use their favourite editing tool.
Added the initial test case 'test/single-result'.
Switched testing to Test:Simple, added more tests
We'll only have a single test folder
lots of tidy up and added a bunch more tests.  Changed from 'my' test framework to Test::Simple