Fixed MESSAGE_TYPES constant, renamed from MESSAGE_TYPE.
Response message is only displayed if a response is present.
Fixed bugs in ShareService object: methods are defined under ShareService.prototype not this.prototype and callback functions mess up use of "this".
Added template for a ShareService extension.