use filesource object for loading all http stuff
use a file source object to abstract loading of resources
skip null byte
consolidate into one line
fix test gyp file
don't automatically move back to main thread
Merge pull request #407 from mapbox/filesource

Use style.json directory as base path for loading sprite images