adding resource router macro. closes #12

    resource "/path", Controller

expands to

		get     route,                controller, :index
    get     route <> "/new",      controller, :new
    post    route,                controller, :create
    get     route <> "/:id",      controller, :show
    get     route <> "/:id/edit", controller, :edit
    put     route <> "/:id",      controller, :update
    patch   route <> "/:id",      controller, :patch
    delete  route <> "/:id",      controller, :delete

    options route do
      {:ok, var!(conn) |> resp(200, "") |> put_resp_header("Allow", "HEAD,GET,POST") |> send_resp}
    end
    options route <> "/new" do
      {:ok, var!(conn) |> resp(200, "") |> put_resp_header("Allow", "HEAD,GET") |> send_resp}
    end
    options route <> "/:_id" do
      {:ok, var!(conn) |> resp(200, "") |> put_resp_header("Allow", "HEAD,GET,PUT,PATCH,DELETE") |> send_resp}
    end
    options route <> "/:_id/edit" do
      {:ok, var!(conn) |> resp(200, "") |> put_resp_header("Allow", "HEAD,GET") |> send_resp}
    end

this falls back to Plug.Router's options macro. need to make
a better wrapper macro for options in Sugar.Router. ideal
syntax would be

    options route, allowed_methods
Merge pull request #19 from sugar-framework/feature/resource_routing

adding resource router macro. closes #12
adding module documentation
middleware!

Contains changes for Sugar.Router to call plugs
before calling controller action for defined routes.
If the connection's state changes to anything
other than :unset, the controller action call is
skipped.
middleware stub
Merge pull request #20 from sugar-framework/feature/middleware

Feature/middleware
Merge pull request #21 from sugar-framework/feature/documentation

feature/documentation
starting work
templates!

basic engine specification and erlydtl implemenation
updating version numbers
be more explicit
Merge pull request #22 from sugar-framework/feature/templates

Feature/templates
basic HAML view engine using Calliope
added redirect and forward response helpers
cleanup. fixes broken build
extracted plug middleware into separate repo
starting work for #23

defines Sugar.Template for passing between compilation steps
allow for status/content-type to be changed
trying this
trying this