Fixes #5604: Automatically check ordering and $() syntax

http://www.rudder-project.org/redmine/issues/5604

Use w=1 since I reindented the check-techniques.sh