removed obsolete method get_wrong_answers
Merge branch 'master' of github.com:secretBears/qapi
removed obsolete private method get_question from QAPIGenerator
removed unused Question.random method; code styling issue fixed
removed unused method Question.get_from_place
renamed results to results_for in Query class
merged two lines of code into one for better readability
code styling
#REVERT LATER temporarily disabled questions caching to see if this fixes bugs
reverted temporary disabling of questions caching, since it didnt change anything
changed where().first to find_by() in Place model
renamed method extract_placeholders to find_placeholders_in_template
selecting cached questions by querying one random question for each template in a list of randomly selected templates
fixed selection of cached questions to better deal with nil results
removed puts statement
restructured question selection process to generate more random results
merged conflicts from origin/master
Merge branch 'master' of github.com:secretBears/QAPI

merged master
added function automatically prepend $..*. to every path
changed nil to empty for json path