Add parameter 'options' to goto(), which then is passed as the corresponding parameeter of url().
#18 API docs review.
Change redirect() to use ngnix constants.