Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas

* Extract those caret manipulating functions in test_touchcaret.py to
  selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas

Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py

Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
Bug 1020060 - Retry getCurrentCalls. r=hsinyi
Bug 1021890 - [RTSP] Compiler warning - character constant too long in RTSPConnectionHandler.h. r=sworkman
Bug 1022112 - Part 1: Get default service id for data call from settings db. r=hsinyi
Bug 1022112 - Part 2: Add serviceId parameter in getNetworkInterface() function. r=hsinyi
Bug 1023463 - [FxA] Leave user logged in after failed RP refresh authentication. r=jedp