Change session handler to PDO. Add doctrine migrations