Adding share type to log output

This will display which detection mechanism caught the share.
Fixed stratum detection

Fixes #405