move "is" functions to utils
move TiappError to own module
add some dummy modules
generic item group parser for XML
implement Tiapp.get() and add(), fixes #4 and fixes #5