Fixed question deletion bug

Had to fix CouchDBDao.getSessionFromId() to implement working permission
evaluation.

This small method had thrown net.sf.json.JSONException wich causes
Spring to send HTTP 405 - Method not allowed and block request.