Capitalize trim string first

When using new lines in your template, it won't work with filter tags:

```
{%filter capitalize %}
	this should be capitalized, but the first char is a tab, so it won't be.
{% endfilter %}
```