initial provisioning

This introduces some context provisioning routines, using the mobile broadband provider info database.

This commit also adds auto test and fixes some tests up as well.