Added a simple measure_activity command

measure_activity measures the response to a pattern at different
durations and returns the responses of all specified outputs as
an NdMapping object, indexed by duration.