(maint) clean up services.clj

* introduce pragmas
* move 'lifecycle-fn-names' constant up so it can be used in the entire
  namespace, instead of passing it through several functions as a
  parameter
* clean up a few test cases accordingly