Added support for array syntax on app.resolve. Removed feature that auto scans function args for dependencies (bad practice).