Add test to serialize and deserialize exceptions

Every subclass of HeatException is serialized and then deserialized.
For those classes which don't have a special init method, a generic
inspection is done to test each class. There are four exceptions
that are different, so their arguments are manually constructed.

Change-Id: I9bb21d134f8997c478cd4ee8ef0031e03b053204
Closes-Bug: #1304743
Merge "Add test to serialize and deserialize exceptions"