Coding standards

Updated to meet Elgg coding standards