CDB-2795 Added exception throwing if couldn't load template
Merge pull request #451 from CartoDB/CDB-2795