Bug 866306 - Add a library to make devtools protocol interaction a bit easier - fix xpcshell tests, r=orange