small cleanup
make getNewLineCharacter errorproof
add document indexToPosition and positionToIndex
Add documentation
Merge pull request #1173 from ajaxorg/indexToPosition

#1162 positionToIndex, indexToPosition methods
Update lib/ace/lib/useragent.js

Added detection for Internet Explorer 10 wrapper for Windows Store apps
Merge pull request #1179 from alizahid/patch-1

Update lib/ace/lib/useragent.js
Improve syntax highlighting of XQuery comments.
XQuery semantic highlighting improvements.
Minor improvements in xquery semantic highlighting.
Beautify XQuery highlighting rules.
Fix bug in the parser with XQDDF syntax.
Syntax highlighter improvements.
Improve syntax highlighting of cdata sections.
Fix highlighting of processing instructions.
Improve xqdoc highlighting.
Add support for eqname syntax.
Improvements in tag highlighting.
Minor improvements.
Add unicode support for ncname.