Split up very long functions in entrynodes.c
Some functions in entrynodes.c are now pretty huge, especially:
- sampled_guards_update_from_consensus()
- entry_guards_update_primary()
- select_entry_guard_for_circuit()
It would be good for testing and maintenance to split them up.