fix Interface code displayed instead of controllers'

Controller's name is a usually a substring of interface's name hence the
old check was error-prone.

This closes ariatemplates/usermanual#33
Display "open in new tab" only if sample is in iframe
Merge branch 'master' of https://github.com/ariatemplates/snippets.ariatemplates.com