More fixes

Removed useless assignments in Model.
Fixed getColumns in SelectQuery.
Removed duplicate code in BasicTestGPIOInterface.
The methods in JsonFileStorage are less strict about the types of its
parameters.
Improved the hasAny method in FlashService.
Fixed compilation error in SessionManager.