userportal,webadmin: cleanup console utils usage

Following cleanups:
- removed code which was copy/pasted to configurator
- moved common configurator configuration from UtilsModule to BaseUtilsModule
- removed couple of unused declarations

Change-Id: If073bd036a46d9bae3aa21f088cc76c83af613ee
Signed-off-by: Tomas Jelinek <tjelinek@redhat.com>