1606 | Subhas | Fix order of resetting database during windows installer
S#1676|Garima/Mark|Divided permission for child export in abilities

This commit contains:-
* Changing of permission All Children page
* Changing of permission on Single Child page
* A database migration to migrate existing data to new permissions
Added some more test scenarios
Merge branch 'master' of https://github.com/singhgarima/RapidFTR into pull-req-495

Conflicts:
	app/controllers/advanced_search_controller.rb
	app/controllers/children_controller.rb
	app/views/children/_header.html.erb
	app/views/children/_search_results.html.erb
	app/views/children/_show_child_toolbar.erb
	capybara_features/csv_export.feature
	spec/controllers/advanced_search_controller_spec.rb
	spec/controllers/children_controller_spec.rb
	spec/views/child/_header.html.erb_spec.rb
	spec/views/child/show.html.erb_spec.rb
Merge branch 'pull-req-495'
Merge pull request #520 from akash/master

merging pull req 495