use eclipse's source>format option to fix some of the coding problem in the way to standardize the code.
PSR standard - file
All PHP files MUST use the Unix LF (linefeed) line ending.
All PHP files MUST end with a single blank line.
The closing ?> tag MUST be omitted from files containing only PHP.
Some finishing touches to limit the line boundary within 80 character. this is softly implemented.
Merge branch 'master' into CSS

Conflicts:
	application/views/index/index.php