Add library, create template resource ourselves

Changes:

* Adds a dinky library to make the recipe cleaner
* Create template resource directly instead of guessing that one exists
* Filtering against IP addresses instead of just `node[:ipaddress]` (in library)
* Use `proxy_ip` key in template instead of blowing away `proxy_host`