Move str2bool to util.py

Signed-off-by: Michael Buesch <m@bues.ch>
Refer to STL, where AWL is mentioned

Signed-off-by: Michael Buesch <m@bues.ch>