LB-1531 Added clear cache for requirejs.

Added clear cache for requirejs on nodejs.
Clear cache accepts regex pattern for files to be clear from the
requirejs cache.