text api: deprecated getText(); replaced with get()
deprecated getText, deleteText; simplified insert, remove

`remove` now handles situations originally handled by deleteText.
It also can remove multiple items in a list at once.

removed the position argument from `insert` and `remove`. now the
position argument is included in the path.

added tests for new functionality

all tests pass
fixed typos; removed console.logs
added many tests, bug fixes

`normalizePath` now called at correct point in `normalizeArgs`.

added `requiredArgsCount` argument to `normalizeArgs`. used if
there are some arguments that are not required to ensure path
isn't added if not needed. only used in `remove`.

Fixed `push`, `get` so they work with a specified path argument.

Added a bunch of tests for performing actions with a specified
path argument. added tests for dotted paths.

There is still a bug in `move` when called with a path
(i've disabled the list move test for now). The test throws a
"TypeError: object is not a function". I cannot figure out why.
I believe there is a typo in `move` at the line

    if(cb) cb.apply(cb, arguments);

which I believe should be

    if(cb) cb.apply(this, arguments);

but changing it doesn't fix the problem, and I wanted to be sure
it is incorrect before changing it.
Merge https://github.com/share/ShareJS into api-normalize
removed dot notation
fixed typo in test
Merge pull request #245 from tedsuo/master

return 'undefined' if last elem in path is not present
merge
Merge pull request #241 from dgreisen/api-normalize

Api normalize
fetching document via REST returns entire document structure when envelope=true