updates to nxos shared module
updates to nxos shared module

This commit address a number of minor updates the nxos shared module

* connect() is now lazy loaded
* parse inner output messages when errored
* code syntax cleanup

thaim/ansible,thaim/ansible