iOS implementation, updates to JavaScript API, test program

Full implementation of iOS plugin, write and notification functions are untested.

JavaScript API updates:
* Functions services, characteristics, and descriptors new return a list of found objects to the callback function.
* Fields "serviceCount" and "characteristicCount" in object Service have been removed.
* Field "descriptorCount" in object Characteristic has been removed.
* Field "device" in ConnectInfo changed name to "deviceInfo.

Test program has been added that runs automatic tests of the API, except for write and notification functions.