If you do not want to update to ansible 1.5 (devel) yet, you have 1 other option.
Instead of using the following in the module:
from ansible.module_utils.basic import *
You could use:
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
The way it is being done currently in your module with the import is the new way going forward, and helps code editors figure out where certain things are coming from. But the older way is still valid, and should be used right now with versions of ansible older than 1.5 if --check mode functionality is a requirement. This of course is already fixed in ansible 1.5.