test compile fixes

 - for ubuntu 13.04 - gcc 4.7.3
 - john did the fixes, so must be good!
change to redirect to avoid "Bad fd number"

OS specific problem (ubuntu). Need to be checked to confirm it's compatible with other OS/Shell combos.
See here for details:
http://blog.stefan-weigand.de/2008/09/23/syntax-error-bad-fd-number/index.html
couple of fixes to get IECoreNuke to compile

The two errors addressed were:
- error: ‘replace_knobs’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
note: declarations in dependent base ‘DD::Image::Op’ are not found by unqualified lookup
note: use ‘this->replace_knobs’ instead
- error: variable ‘presetIndex’ set but not used [-Werror=unused-but-set-variable]
addressing John's notes
merging in from master
Rolling back changes that shouldn't have been commited
Merge branch 'buildFixesGCC473Ubuntu' of https://github.com/bentoogood/cortex into feature/UpdatingForMint

Merging from bentoogood's GCC fixes to see if it'll solve compiling on Linux Mint 16.
Further Fixes for Linux Mint 16

- Implemented fix from bentoogood's branch for GCC473 fixes. I return
error 139 with the proposed fix on line 1580 of Sconstruct, so I
replaced it with just printing everything to screen and copying it to
the results.txt file
- SweepAndPruneTest had an unused variable.
- Left the Inverse function of ColorTransform and SpaceTransform
commented out for now. My current theory on why it is not compiling is
that it seems that we're trying to make an object with the
ColorTransform and SpaceTransform classes, and GCC will not allow
classes with virtual functions to be objects. One possible fix is
creating a GenericTransform class and having the functions get derived
from that.