Add unlock method to B2G device class, based on gaiatest

It's generally useful for utilities as well as tests
Add a "getdimensions" utility for getting capture area on pointgrey devices
Add a b2g test which scrolls through the contacts list
Import and use flot and plugins as submodules

Hopefully a more sustainable approach than including random static copies all
over the tree