Moved initialization code into configure hook

This is to allow the drivers to already communicate with the device
in the configure hook.

Cleaned-up doubled error checks in the process.
Reintroduced check to avoid open fd and raw port at the same time
Moved initialization code into configure hook #3

Conflicts:
	tasks/Task.cpp

This is to allow the drivers to already communicate with the device
in the configure hook.