Bug 975346 - Part 2: Support LayerScope for HwcComposer2D

1. Retrieve buffer from GPU.
2. Refactor - use SenderHelper class to manage the Sender
   static function structure.