Convert indentation to use 2 spaces

As per https://www.drupal.org/coding-standards
More style fixes

As per https://www.drupal.org/coding-standards
Spacing
Spacing
EOF new lines
Use single underscore for PARSELY_VERSION