Added python script to map AF to a pin name

Added some functions to Pin class to query mode, pull, and af
stmhal, pin: Update documentation.
examples: Added pins.py example script to list pin config/af.

Script is due to Dave Hylands.