Added acmapi.types and corresponding unittests

The acmapi.types module contains functions which act as types for
reqparse arguments.

The corresponding tests are located in the tests.test_types
module.