move factory.js to dir, src
add json2 for browser that don't support JSON spec
update jasmine.yml for new factory.js location
distribution rake tasks
add a version file