Fixed ad-hoc scan id not being passed through
Added built-in TaskIds enum to dotnet bindings

This allows tracking of which built-in task has changed state in
OnTaskStateChange.