Implement advanced search

Add function to create advanced search panel. Change name of interface
Article to IArticle. Fixed SQL query for advanced search.