Improved reservation status transitions.

Take into account the tear down guard time when determining if a
reservation needs to go to PASSED_END_TIME, SUCCEEDED or FAILED.
Merge pull request #2 from BandwidthOnDemand/update-status-failed-or-passed-end-time

Improved reservation status transitions.