Symphony 2.4 Compatibility

According to https://github.com/symphonycms/symphony-2/wiki/Migration-Guide-to-2.4-for-Developers#functions
Symphony 2.4 Compatibility

According to https://github.com/symphonycms/symphony-2/wiki/Migration-Guide-to-2.4-for-Developers#functions
Merge pull request #20 from twiro/master

Remove deprecated functions (S2.4+)