Renamed enums and enum types.

All the `*API.cpp` files will need their field type values
search/replaced, which shall be the content of the next commit.
Replaced field type enum values.
Merge pull request #16 from WrinklyNinja/enum-names

Renamed API enum types and values