updated idea template and idea controller view function to use template
started migrating master page to mustache