Store CX attachments in the database instead of filesystem

Overriding the original attachmentService with a new DatabaseAttachmentServiceImpl.

Added a new column to KRNS_ATT_T and mapped it to DatabaseAttachment.

fixes rSmart/issues#244
Lines 152 and 161 are the actual changes. Everything else is formatting, whitespace, etc...