Pull request #90: [java.lang.ClassCastException] When adding HTMLSignature to userConfiguration

Details:
* replaced simple casts to instance of checks
* removed unreachable code
* removed handling for unsigned values because in Java, all types are signed
* replaced EwsUtilities.EwsAssert(...) with Exceptions. I think this Method should also be refactored because checking preconditions with java asserts isn't quite a good choice

* imports optimized
Is the defaulting to null needed here?  Since we assign or throw in all branches following this line?