Added test cases

branch consists of test cases, and few functionality like implementation of tinymce, seed file for user and text message template, image loading into tinymce and rake job to send email