Various tidyups in LogicSnapshot
Added a scale factor to AnalogSignal
Added code to construct analog envelope levels
Implemented Basic analog tests
Implemented AnalogSnapshot::get_envelope_section
Make Snapshot::get_sample_count() a const function
FIX: Make get_envelope_section a const function
Added analog envelope painting