corrected call to Date.now() and return resource id from lookup function
tweaked the routes
gitignore file
update from svn 12-07-2013
merge conflict resolve
updates after merge to make project build. some resources were missing form ResourceType in instance/model