add bump analysis module: analysis.bumps
pep8 on analysis.bumps and analysis.spikes
add tests for sliding firing rate computation

This also fixes a bug in which returned times array could be one longer than
the firing rate array.