Test session set/get functionality.
Remove unused APP constant.
Don't use pathname for directory computation.
Update .travis configuration, removed 1.9 and added 2.2 and rbx-2.
Fix spec to run from different pwd.