Remove unreachable throw - replace with assert
Merge pull request #29 from Metaswitch/ifc-priority-optional

Remove unreachable throw - replace with assert
Shave 10 seconds off UT run time.

No need to wait for any time at all when polling - it's the
instant events we're interested in.

Real run time goes from 51.8s to 41.4s on my box.
Ability to log timestamps. Occasionaly useful.
Allow control of LVC poll timer.

Leave it at 1000ms in production for efficiency.

Set to 10ms in UT for speed.

This saves 6s real time (of 41s), at a cost of 0.2s user time, on
my machine.
Merge pull request #35 from Metaswitch/ut-speedup-1

[Reviewer: Andy] UT speedup part 1
Add dependency on libev(-dev) and formatting.
Revert previous.  Libevent is compiled as a submodule.
Make 1000ms the default, and improve var names.

Use a default poll timeout for the LastValueCache, to make the
production code cleaner.

Explicitly add `_ms` to the name of the timeout variable, so it's
clear what the unit is.
Merge pull request #38 from Metaswitch/ut-speedup-1

Make 1000ms the default, and improve var names.
Re-enable disabled VG test.
Properly lock the shared timer offset.

The timer offset used by cwtest_advance_time_ms is accessed from
multiple threads. Ensure we lock it properly.
Fix the ExpiredChain UT failure.

Problem was that the first poll was taking it from Completed to
Terminated, and we needed a second poll to take it from Terminated
to Destroyed. Make poll() do repeated polls until quiescent.
Merge branch 'dev' of github.com:Metaswitch/sprout into reeval-ifcs
Merge branch 'ut-robustness' of github.com:Metaswitch/sprout into reeval-ifcs
Correct handling for skipped/internal links.

Add a new disposition `Complete` meaning we've reached the end of the
chain.

Make originating and terminating handling each loop (while advancing the chain link) until they get
a non-`Next` response to a link.

Move the move-to-terminating-chain handling up a level, and remove duplication.

UTs now pass! Yay TDD.
UT coverage of no iFCs doc - non-local case.