[control] Implemented the session delete and get

Implemented session delete and session get.
[control] Added filtering for deleted sessions.
[test] Added tests for session delete
[model] Fixed html and href generation for session
[test] default session get test
[control] Add session list.
[control] Added defaults to session_list
[test] Added the majority ot session_list tests.
[control] Modermize import and reutnr 400 errors

Used the correct https status code for some of the errors.
500 was not the right code for client validation errors.
[control] Implemented session_insert
Removed updated from test init in series.
[session] Initial implementation of patch
Sessions implemented session get and list in views
[control] Call session.flush instead of session.commit

Session.commit is not allowed with the use of the transaction manager.
Detect date or datetime in start/end

Detect whether or not there is a date or datetime in the start/end objects
while creating a new session
Implemented session_insert in the views
Removed extra methods in views
Implemented session_delete in views.
Fixed status code of a deleted session
[Session] Implemented the session_patch endpoint

Added session controller patch support for status attribute.