revert indentation to 4 spaces
using unordered map instead of array
update function prototypes
display message if invalid device name is given
Merge branch 'hwkitctrl-map' of https://github.com/neqwpn/fyp-webhwkit into hwkitctrl-map

Conflicts:
	hwkitctrl/main.cpp