Added a missing smarty assignment.
Breadcrumb works also for resources page.

 - Fixed Foundation\Subject::getByCode(). This method used the Subject
constructor in a bad way.
 -