Add EdgeStatus with unit tests

Add EdgeStatus with unit tests. Update GraphId to use level rather than hierarchy. Add #define guards to baldr/thor.

@dgearhart @gknisely @kevinkreiser