test case names stored as type text

- changed database storage type of test case names from string to text
to allow longer names
custom fields for results and assignments

- added custom field capability to results and assignments
- added ability to delete custom fields from items
- moved find parent functions to helpers file for stencils, test cases,
test plans
- added new link type custom field
- added db migration files for adding custom fields to results and
assignments during setup script
version 2 JSON/XML web api

- created new controller webapiv2
- JSON/XML web api accessible via api/[object]/[endpoint].[json|xml]
where object is assignments, categories, devices, products, results,
stencils, tags, test_cases, test_plans, users, or versions and endpoint
varies depending on object but most contain at least search and create
- invalid routes or endpoints are caught and return an error message
- authentication is provided via an auth token associated with a
privileged web api user like the v1 api
- implemented a fix for the v2 api so that a user session does not need
to be established for api access, only the correct auth token is
necessary
- api follows the style of the reedit and twitter apis which seem to be
using ruby on rails as well
- backwards compatibility with existing xml api is maintained as the
previous route and controller remain untouched
- updated gem file dependencies
- created RSpec unit tests for all api calls which are run with the
command “bundle exec rspec” from the root testcasedb directory
Merge pull request #52 from agramian/allow-longer-test-case-names

test case names stored as type text
Merge pull request #53 from agramian/custom-fields-for-more-item-types

custom fields for results and assignments
Merge pull request #54 from agramian/webapi-v2

version 2 JSON/XML web api
Fixed label for import users page
fix default value for link custom fields

- new link type custom fields require two comma separated values for
the link and display name
- previously if no value was set for the field it would display a link
to the current testcasedb item’s page
- added fix to leave entry blank if the value is nothing
allow editing already set results

- added setting to allow editing already set results
- added db migration for new setting
add mime type for xlsx and csv for user import

- csv and xlsx files were not being accepted by import users file
chooser
Merge pull request #58 from agramian/allow-editing-set-results

allow editing already set results
Merge pull request #57 from agramian/custom-fields-for-more-item-types

fix default value for link custom fields
Merge pull request #59 from agramian/import-users

add mime type for xlsx and csv for user import
Merge remote-tracking branch 'tcdb/master' into develop

Conflicts:
	Gemfile
	Gemfile.lock
	app/controllers/assignments_controller.rb
	app/models/assignment.rb
	app/views/assignments/_form.html.erb
	app/views/assignments/show.html.erb