add convenience function to extract translations

Adds phase awareness in this function. Closes #349.
gtlua: add feature_node:extract_and_translate_sequence()
reintroduce non-mandatory joining
gtlua: make join a parameter again
gtlua: extend documentation of FeatureNode bindings
move around Lua method implementations, add __eq and __tostring

Closes #352.
add simple testcase for phase aware translation
update test cases with multi-CDS situations
small fixes to make gcc happy
Merge pull request #353 from satta/phases

add CDS phase aware translation and Lua improvements
gtlua: implement first version of custom visitor
gtlua: implement first version of custom stream
add test cases for custom streams
add tests for custom visitor