Cleanups and fixes to FileSession `init()` and `commit()` methods.
Cleanups and fixes to FileSession `init()` and `commit()` methods.

- init() just required minor cleanups
- commit() may have incorrectly triggered the return future multiple times, depending on which flags had been set during the request.

ufront/ufront-mvc,ufront/ufront-mvc,kevinresol/ufront-mvc,kevinresol/ufront-mvc