First step towards node style callback signatures
In support of #15
more tests and added boolean callback signature
Merge remote-tracking branch 'upstream/master' into callbacks
Added tdInit and tdClose, part of #19

tdInit har workType 15 and tdClose has 16, they expect no input and
always return true as first parameter
Fixes #15
Closes #18, i think
Merge pull request #20 from kmpm/callbacks

Callbacks in node style
Deep copy of string argument. Closes #24.
Added license. Closes #23.
Don't mess up callstack by do an async getErrorString
Update LICENSE

ASCII perfection
reorganize some tests
Only negative return values are errors.
Positive > 0 are a value that we need.
For example the device id from addDevice
Merge remote-tracking branch 'upstream/master' into devasync
speed up the test of setName
re enable test of switches
Merge pull request #25 from kmpm/devasync

Support async addDevice and similar methods.