adding sling:basename support for the ResourceBundle servlet

Usage in JS

Granite.ACSI18n.getBundleMessage(key, basename);

which results in a call to /bin/acs-commons/components/utilities/i18n/dict.locale.basename