Simplified edit_item logic a bit.
Got rid of a redundant try/except
Properly guarded against invalid int conversions.
Made sure title of form reflected action (Add Partner, Add Contact, Edit
Contact)
Primary contact information no longer required to create a partner.
Wrote unit tests for my changes in myparters/views
Remove print statement
Refactored unit tests.
Catch an explicit error, rather than any error.
Django tries to cast values, so catching ValueError's should be benign.
Merge branch 'master' into forms-refactor
Merge branch 'master' into safer-get_object_or_none
Streamlined assertRaises invocations.
Properly used context manager for assertRaises
Python 2.7 doesn't support the msg argument for assertRaises context managers.
Merge pull request #804 from DirectEmployers/safer-get_object_or_none

Catch an explicit error, rather than any error.
Merge pull request #802 from DirectEmployers/forms-refactor

[MJ-966] edit_item refactor
Merge branch 'master' into partner-library
Split partner library filter and partner filter into two separate functions
More refactoring.