userportal,webadmin: cleanup Frontend

- Removed deprecated methods from Frontend
- Cleaned up code formatting in Frontend
- Replaced calls to deprecated methods with current ones.
- Replaced calls to deprecated methods which returned null with
just null.

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