(#172) Refactored build script after working on WebApiSample

- After using the same build script of the WebApiSample project, realised a couple things weren't quite right
  - Artifacts weren't published at the right time
  - Was still using hard-coded path in inspectcode.config file
- General refactor of tabs/spaces