userportal,webadmin: messages locale unit test

- Added unit tests for all the locale messages which check
  the following:
  - The number of parameters on the interface match the parameters
    on each locales translation. This takes @Optional into account,
    so if there are 3 parameters and one optional, then 2 or 3
    parameters are acceptable.
  - There are no out of bounds indexes in the translation, for
    instance if there are 2 parameters, there is no {2} or higher
    in the translated messages (the index starts at 0).
  - Checks if there is a default translation for missing translations
- If any of these conditions occur the unit test will fail and report
  all errors to the user.

Change-Id: Icda389f2ca08e9d3b7515bb4a0dc1213bc91aeef
Signed-off-by: Alexander Wels <awels@redhat.com>