Fixed issue where tables inserted into a list were being put outside of the list items.
Merge branch 'master' into issue_407
Switched to using nodeName instead of tagName on the selection objects because tagName is undefined for #text nodes
Merge branch 'master' into issue_407
Refs #406. Added sinon.js for use in a test for table insertion with direct selection of a list item node.
Refs #407. Fixed white space.
Refs #407. Moved sinon.js files to unit test directory.
Refs #407. Clarify restore method of the stub in the table insertion with direct list node selection test.
Refs #407. Fixed comment.
Merge pull request #407 from FriedRice/issue_407

Fixes #408 Attempting to insert a table at the end of the last item in a list sometimes inserts the table after the list