Add $this->session->userdata() function

Adding the missing method.
Merge pull request #6 from FrancoisH/patch-2

Add $this->session->userdata() function