``get_state`` was located between "form" functions.

This keeps related functions closer together.
Removed unused column ``station_id`` from ``form_scores``
Simplified form field access.
Return 0 when no score exists yet for that form.