Refactored code around new project creation to prepare for Bower merge
Addressed comments: made templateId optional
Fixed a dormant bug
Merge pull request #1466 from ussuri/support-bower

Refactored code around new project creation to prepare for Bower merge