(tests) test setup
isAuthenticated tests
getTokenUrl tests. 1 failure
parseFromUrl tests
encodeURL tests
base64Url tests
Sign tests
Merge pull request #9 from omsmith/tests

Tests
set up test and coverage reporting to travis and coveralls
Merge pull request #10 from omsmith/testReporting

set up test and coverage reporting to travis and coveralls
assume nodejs and provide browser build with browserify
parse url params using url module
use url module to build targetUrl