Added addImage to client/server, and error handling in some places
importImagePixelsFlat(T)(T[] pixels) added.

Added a helper function to BaseDb to assist in adding ImageSigDcRes seperate from an ID.