Revert "minor code shortening in Suspensions class"

This reverts commit 1d690a918f as it breaks
the Suspension::isSuspended() method.
fix suspension creation by name to return suspension ID
Merge branches 'master' and 'fixes' into testing

Pull recent bug fixes to make tests run fine.
improve User tests
add some tests for suspensions