Patch to export ELF Segment Header

This patch adds API to read ELF Segment(Program) Header and Data.

Also based Ashok's suggestion I renamed the function names from
Program* to Segment*.

Please review and commit.

Thanks
Samuel

A patch would help... :slight_smile: