Added name to BudgetTemplateNode unique contraints. Refactored morphing node tests for the new use of a through model on tremplate node relations.