fixed js error, CRM-12012
template cleanup
fixed adding of client for multi-client mode, problem was with the page being redirected before relationship was saved, CRM-12012
Merge pull request #35 from kurund/CRM-12012

CRM-12012