Fix bug in AMD style inject call
Fix bug causing dependencies on an array to fail
Merge pull request #3 from arobson/master

0.5.0 - bug fix