Warnings for map/define

fixes #1041 

Adds 2 warnings:
1) when someone tries to add a define property but haven't included the define plugin
2) when someone tries to add define on static props, not prototype props