add license file
update rails and json to fix security issues