Use gettype only for debugging text

Changed some gettype == 'array', 'object' and similar to is_array,
is_object or similar

Output of gettype must not stable across versions and it is slow

Change-Id: I07bfc063b03be1200989dd6facee66b35ab51d77
(Bug 45775) Adjusted the margin of "userloginForm"

Change-Id: Ibede75a3f4e998d1972cacf1f5840882d39550ee
Merge "Use gettype only for debugging text"
Merge "(Bug 45775) Adjusted the margin of "userloginForm""