Modified views.
Refactor deprecated functions.
Added scopes to Message and Comment.
Added methods for search.
Moved some scopes to EntryExtend.
Moved included method on Entry to extended method on EntryExtend.
Modified target option.
Add search form.
Added search function.
Added thumbnail_display parameters.
Updated search queries.