pgr_createTopology: fix cast of record to integer, improve error

Closes #210, superceeds #193
Fixes for test cases related to pull request #213
Hand merge of pull request #222 and issue #220
change packaging to not have projects folder hardcoded to c drive