Attempt to make this module compatible with both python 2 and python 3
by use of the future module.
Rewrote the error handling. It looks like perhaps the linkedin or maybe
requests api has changed since it was written.