adjust paths for intern
add build badge
Fix intern paths to work with both npm and browser, with shared and non-shared intern