Fix #146. Making DoesNotExist exception picklable for user defined model...

Updated the DoesNotExist exception to handle user made models when being pickled.