Bug 926746 - merge fakeperm into b2g

Bug 926746 - merge fakeperm into b2g process. This patch should be merged after the patches(part 1 and part 2) in m-c or b2g process will be blocked.