[MRM-1833] Nullpointer when browsing artifacts which have dependencies
with scope "import"

Use the full constructor to create the clone, as resolveModel expects
remoteRepositories to be not null
[MRM-1834] Add limit to index search query to prevent unnecessary
calculations
fix unit test for pagination
make no limit working back
complete .gitattributes file
add war