Merge pull request #4 from christianbundy/euankdev

Escape args, add some tests
Bump version to 1.2.0
Configure `npm test` and remove console.log
Use relative mocha
Remove debug console.log
Fix searchPosts
Rudimentary tests for all remaining functions