updated for cake > 2.3

Note: I needed to also create an empty template e called default inside https://mandrillapp.com/templates
Code is for php 5.4 or greater because of the code like: $this->_cakeEmail->template()['template']