use "idiomatic"/node-style relative path requiring and handling

ROOT whatever crap is way too complicated
This seriously should work
But maybe I use browser-targeted JS too much
Fix path.resolve usage to not do stupid shit
Get rid of rekuire from where I missed it

note to self, use ack more and rm -rf node_modules when testing this
shit
Merge pull request #15 from kimagure/so-called-idiomatic-require-usage

use "idiomatic"/node-style relative path requiring and handling