Core: Added check if cut was found

Added a check if the cut with the specified cutname was found to prevent
passing null pointers within acqu which leads to segfaults
User: Check if cuts are found to prevent segfaults
Core: Prevent skipping config in case of unknown key
Cmake: Make LibLZMA finding more robust
Worker: Improved flag handling, added error checks for config files,
minor fixes

Rewritten flag handling using GNUs getopt to prevent crashs in case the
arguments are shuffled or otherwise wrong.
Check first if files could be opened before working with them to prevent
crashs.
Removed misleading .rd0 comments and outputs since .rd0 files aren't
used by many people anymore. Replaced Rd0 variable names with Sim.
Scripts: Changed ordering of commands in wait loop when too many jobs are sent to blaster