[FLINK-1076] Return type determined via type extraction.
Added test cases.
Minor improvements and clean-ups.
[FLINK-1107] Hadoop Compatibility Layer documented

This closes #131
[FLINK-1076] Extended Hadoop Compatibility documentation to cover Hadoop functions