refine the code to follow the rules in CodingStyle file.

Hi, Bohu,

I found some coding style problems in the source code, so I try to modify them follow the rule in CodingStyle file. 

I hope this may help , thank you :-) 

I think this project is excellent, however, it lacks of code comments and documents, would you please write some thing like wiki / blog / comments to introduce the SST's princple ?

Runzhen 

-------------------commit information--------------------------------------
I use the checkpatch.pl in linux kernel source code to check the
coding style:

$./checkpatch.pl  -f ~/nessDB/engine/*

However, there too many warnings about whitespace in the end of line
and line over 80 characters. so I ignore these 3 warnings/errors:

	(ignored) ERROR: trailing whitespace
	(ignored) WARNING: please, no spaces at the start of a line
	(ignored) WARNING: line over 80 characters

This commit mainly focus on the code indent, correcting the mixed usage
of whitespace and tabs, and some other coding styles, such as:

	ERROR: code indent should use tabs where possible
	ERROR: space required after that ','
	ERROR: space required after if/while statements
	ERROR: space required between operators (+ == > <= and so on)