Fix handling of custom filter attributes

When called from controller with custom arguments, filter passes only first argument to the getLocalizedString() function. Due to that sprintf doesn't do it's job.

To test consider following:
```
$filter('i18n')("Hi %s, it is %s.", personA, personB);
```