Addition of gem specification along with improvements to test running

Wanted to start helping out with the project and needed a gem spec so I could include it as a local dev dependency in my test project, so I've added one here (you probably already have one, but it wasn't in the repository). Also updated the tests to be able to be run with rake (from anywhere in the project structure).