Improvements for nimble build.

- `nimble build` now compiles in debug mode while nimble install compiles in release mode.
- add a `builddir` option to .nimble files to specify where built binaries/libs should go.