AP_Compass: Added interface functions to check whether a compass instance is external

Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>