standardize quotes, make errors match interface, fix closing stuff

Fixes: #24 #28 #29  

TESTED: 
grunt

(note other grunt tests have been broken for over month, would be good to fix: https://github.com/freedomjs/freedom-for-chrome/issues/15 )