[filesystem] restructured SFTP code

moved implementation of SFTPSession into own class file with header and
defined a SFTP.h with required forward declarations to reduce build
overhead.