Add flask-kvsession so that we can store lrid and other session data

@Skablam Hi Mat, can you take a look at this one for me. Trying out flask-kvsession for server side session storage