Added first version of table-based valve.

This is for #205.
Moved examples of dampers and valves into separate Example folders.

This is for #205. The change has been done as there are an increasing number of examples for the valves, and hence it is better to separate them from the damper examples.
Revised valve model.

This is for #205.