Merge dev into feature/856-primary-contact-auto-affliation
Removing unused variable.
Adding feature request #856 and tests.
Fixing #1009.
Fixing deployPackagedToSrc target.
Fixing debug statements and running all tests in AFFL test class.
Merge pull request #1139 from SalesforceFoundation/feature/856-primary-contact-auto-affliation

Feature/856 primary contact auto affliation