Fix a couple of minor issues

Manager can't be exported until it is defined, and context.held needs to be initialized.

This fixes the issues I had with getting asterisk-manager to work out of the box.