[DO NOT MERGE] add hwdetect module to detect efi/bios



<!---
@huboard:{"milestone_order":5.0,"order":111.0,"custom_state":""}
-->