Initial working copy of the fence agent. Needs more testing though.

Signed-off-by: digimer <digimer@alteeve.ca>