Vagrant Ubunut 10 => 12
added type hinting for function arguments. refs #3202
removed deprecated function saveObjective(). minor tidy up of method argument names and indentation.
replaced all calls to saveObjectives() method with calls to _saveObjectives()
code cleanup.
added more type hinting.
Merge pull request #78 from Trott/master

Upgrade Vagrant VM from Ubuntu 10 (Lucid) to Ubuntu 12 (Precise)
added type hinting where application to method arguments for saveCourseWithId(). filled in doc block.
added basic type-checking to user input validation in saveCourse() controller action. refs #3202
replaced tabs with blankspaces
added argument type hinting to methods updateSession() and addSession(). refs #3202
added basic type checking to input validation in saveSession() controller action. moved LM input formatting from within input validation to further down in the processing chain. refs #3202
added utility methods for deserializing JSON input.
provided test coverage for Ilios_Json::deserializeJsonArray()
fixed Ilios_Json::deserializeJsonArray() and corresponding unit test.
Added final fallback for UTF-8 conversion for input where the encoding could not be detected.

A always
B be
C converting

ALWAYS BE CONVERTING!
provided overrides to core Input class to deal with data-munging issues.
removed explicit calls to utf8 conversion function from the various controllers since this gets handled now much further upstream already.
removed rage from code comments.
Merge pull request #79 from ucsflibtopfstedt/rb2.2

fixed regression in processing non-utf8 encoded user input