Adding a method to verify if JSON objects conform to the Idea schema.
Making use of new JSON verification method.
Changing function argument name from 'idea' to 'object'.
Minor logic changes in Idea controller.