Merge various improvements from 'next' to 'master'

Merge these items to 'master'; each one has already been individually reviewed when merged to 'next':
 * Network registration status check, pull request #201
 * Unit test improvements, pull request #195
 * Memory leak fix, pull request #203
 * Call disconnect reasons fix, pull request #206
 * Support for network lock depersonalization, pull request #207
 * Startup dependency change for dundee, pull request #208
 * Call Forwarding query fix, pull request #209