Improve Swift compatibility of ALAttribute type

Making ALAttribute a real NS_ENUM instead of raw NSInteger allows the APIs that use ALAttribute to be used more naturally in Swift, instead of having to call .toRaw() on one of the other enum types.