Added getter for configuration on session class

Added configuration getter so metadata about a session can be fetched
Fix recursion when listing directories

Sftp::scanDirectory() always recursively scans a whole directory tree even if no recursion is wanted. This patch uses scandir instead of the recursive method-call to avoid this.
Fixed the return value in the send method.
Merge pull request #23 from 3web/master

Fixed the return value in the send method.
Fixed travis config. Added PHP 5.5 and 5.6-alpha.
Merge pull request #24 from h4cc/patch-1

Fixed travis config. Added PHP 5.5 and 5.6-alpha.
Merge pull request #17 from ajbdev/master

Added Session.getConfiguration()
Merge branch 'master' from Herzult/php-ssh into sft-recursion-fix