[FLINK-1221] Use only method name and location as default operator names
[FLINK-1221] Use StackTraceElement methods instead of String parsing

This closes #231.
Small changes and tests for the newly introduced EnumType

This closes #230.