A tiny hack in{sp,f}ect a padrino environment

This adds a small binary that allows to watch for know error conditions
and hook into certain aspects at startup time of a padrino application
to gather info.

Currently implemented is suite to detect json and yajl being loaded
concurrently.
Make Padrino::Rendering use ActiveSupport::SafeBuffer

This change switches all rendering to use SafeBuffer instead of a raw string.

SafeBuffer is a Subclass of String, so concats and instantiations are cheap.

Concatenating SafeBuffer with a normal String escapes the String. Concatenating
SafeBuffer with another SafeBuffer keeps both intact.

This change requires to extensions: a special template implementation for
Erubis and a port of the XssMods used in HAML. At least the latter can be
dropped once HAML makes them available as a standalone.

All strings returned from #render are considered escaped. Strings can be
marked safe for concatenation using String#html_safe, which turns returns the
String as a SafeBuffer.
Port padrino helpers over to SafeBuffers

This patch ports all helpers over to use SafeBuffers. The changes
follow one general rule: all tag helpers like tag and content_tag
escape everything by default while block helpers like content_for
and form_for assume that the given content is already escaped.

Adds two new methods: safe_content_tag (which assumes that content
is already safe) and mark_safe, which marks a given String or Array
as safe.

Fixes test applications where necessary.
Add a test case for issue 936
Explicit braces to allow appending of numbers
Add test case for image_tags in link_tos
Temporarily use private HAML fork with patches
Use the public url for the private fork...
Merge remote-tracking branch 'origin/master' into safebuffer
Split #registered and #included in Rendering

Were used as synonyms, but including might not give you an app to
set settings on.
Fixes content_tag for ruby 1.8.7

String implements each...
Remove app-name requirement for gems
Merge pull request #1027 from skade/padrino-perf

padrino-perf: watch out for problematic conditions in your app
Generate test using the new app structure

Fixes #1034
Merge branch 'asset-pipeline'
Just hook require instead of other tricks
Applied the patch suggested by @yogi in padrino/padrino-framework#815
to make the logger thread-safe.
Merge pull request #1035 from padrino/thread-safe-logger

Workaround on a jruby issues with thread-safety
Merge pull request #1031 from skade/safebuffer

Rendering using Safebuffer
Alias db:migrate to dm:migrate and ar:migrate.