travis config

Conflicts:
	.gitignore
	.travis.yml
	config/database.yml.travis
add pre_testing
Merge remote-tracking branch 'origin/dev' into dev
add gem 'rails-i18n' for translation rails
add to be green factory.
----
to be: Add user relation check
add test file to upload
Merge remote-tracking branch 'origin/dev' into dev
add pre_testing
add gem 'rails-i18n' for translation rails
add to be green factory.
----
to be: Add user relation check
add test file to upload
include type to test
Merge remote-tracking branch 'origin/factory_test' into factory_test

Conflicts:
	spec/factories/documents.rb
Merge pull request #10 from wat32/factory_test

Factory test rspec