Changed getUrl() to accept also arrays

Added support for module without action in getUrl()