extend sql resource scope

allow place sql resource to not only declaringClass but also
repositoryInterface.
cosmetic
Merge branch 'feature/extend_sql_file_scope' into develop