Support -1 as the last session id

This adds support to the get method of SessionManager to use -1 as the latest session id and modifies the post mixin to use the get method for retrieving sessions.

This makes it much easier to test post modules by eliminating the need to constantly update the SESSION option to reflect the latest session id.