fixed typo in method name
changed query hash to array (experimental)
removed debug puts
updated query hashes to be contained within JSON array (to be valid queries)
changed location and answer properties to access object within array
added after_save hook to delete all questions with the currently saved template
Merge branch 'dev' of github.com:secretBears/qapi into dev
Fixed questions_controller_test by adding array brackets to structure

Conflicts:
	test/controllers/questions_controller_test.rb
added check for empty templates array argument (which would not be nil) passed to get method of qapi generator
Merge branch 'master' of github.com:secretBears/qapi into dev

Conflicts:
	test/controllers/questions_controller_test.rb
rounding all coordinates in a place to 4 digits max
fixed issue with wrong place
Merge branch 'master' of github.com:secretBears/QAPI into dev

merged master
fixed some rubocop issues
fixed issue with wrong answers