Added sensor components

Added sensor and motion sensor components similar to that found in
Pi4J. This implementation allows for polling state on a background
thread.