Added acmapi.fields and corresponding unittests

Added basic fields. A root field is still needed but a new field
is required before it can be implemented.