added r.js build profile
changed controller depenency signature to work with minifiers
updated from master
built main.js