Fixed spacing in logging/parser/profiler/rl/revdel/search folder

Added spaces before if, foreach
Added some braces for one line statements

Change-Id: I11bbcfa351e945b7bde10c2105d61a3cf5622205