added querying ability
added some documentation on often used native codemirror functions