waf: fix libm naming
waf: add a define for statement checks

pkgconfig and header checks already do that on their own!
waf: make lib store uppercase to follow war conventions
waf: add --developer flag

for now this just shows the env dictionary at the
end of configure. it would be cool to enable
memory leak instrumentation and so on when
compiled with this option.