Increasing code-coverage

Tests added to RestControllerTest
null checks are added to RestController
UnknownAttributeException extends from MolgenisDataException