Merge pull request #18 from jrk/master

Halide improvements
Merge pull request #19 from jrk/master

halide: timing_prefix uses new infer_input_bounds
Refactoring and code cleanup
Support for --seed-configuration and saving/loading configurations
Fixed bug in simplex techniques when there are no primitive parameters
Halide: link curses for LLVM terminfo dependency
Halide: update timing_prefix to allocate output

infer_input_bounds interface changed. It should allocate outputs,
but currently doesn't. Duplicate the corresponding logic in the
timing_prefix.
Merge branch 'master' of https://github.com/jansel/opentuner