Board-pyramid: port ION from VilleC2

I have also ifdef'd ION and made adjustments to the code where necessary.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
ION: fix compile errors with the new ION driver from the HTC One

Signed-off-by: Sultanxda <sultanxda@gmail.com>