[FLINK-1307] Allow file input from nested directory structure

This closes #260
[FLINK-1307] Excluded directories that match the file-filter from recursive descent.
Fixes broken code highlighting in documentation
[FLINK-1327] [core] Fix wrapping of MemorySegments in ByteBuffers