Merge pull request #2 from gordonwoodhull/merge_list_fixes

lang elements; fixes to tagged lists
partial progress
more fixes
refactor, bare-bones createFile, writeFile, closeFile support
minimal two-way communication between js and r