Added "Mode" documentation for device API, as well as added a new ap-api.txt to document the AccessPoint interface.