fixed ui-router project route

project route now functions with state params
added dynamic template function

A user can now choose from a list of predefined templates when creating
and editing projects