profiles: detect platform and architecture

	- Detect host's platform and architecture
	- Add population of profile data members based on host
	  information, see #1

Signed-off-by: Alberto Corona <alberto@0x1a.us>
gen: fix file list population

	- Correctly populate file list with approriate values, had
	  previously included the dirname
	- Correctly create a new config with doc end and start

Signed-off-by: Alberto Corona <alberto@0x1a.us>
yabs: change calls to renamed functions

Signed-off-by: Alberto Corona <alberto@0x1a.us>