Bug 897504 - Implement region API for Gecko. r=giles, khuey