Changed method to determine script directory, so that it works on both - Windows and Linux.

Fixes #4
bumped Neo4j and TP3 version
made deploy script executable
minor bug fixes