MyriaUtils: add ensureObjectIsValidType

To check objects that we store in columns or fields
upgrade to gradle 2.1
Merge pull request #618 from uwescience/gradle-2.1

upgrade to gradle 2.1
Merge branch 'master' into type-safety-inserts
test ensureObjectIsValidType
Merge pull request #616 from uwescience/type-safety-inserts

MyriaUtils: add ensureObjectIsValidType
Merge branch 'master' into deterministic-producer