Fixed initialization issue where the
BroadleafMessageBodyReaderWriter.typeMap should have been static.
Made Rest endpoints abstract. Added BaseEndpoint to inject application
context and message source.