refs #13 and #20 - refactored code

For #13, removed fnDrawCallback as this is called on all events.
Instead, modified code to raise an alert if no container is present

For #20, instead of a JS solution, I added a method in the model
for date_since_placement and sent it as Json