Define without dependencies should execute callback

Hi

According to requireJS api - user can define a module without specifying any dependencies, he can omit first  argument and pass callback directly
http://requirejs.org/docs/api.html#define

So i added this to define - if there's no callback and first parameter is a function - execute it