Proper AMD support for define.amd to ensure we have an AMD system

According to the AMD specification, the property define.amd should
exist and be checked against in order to ensure that the define
function being referenced conforms to the AMD API

Reference:
https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property-