Fixed angularjs test

Now it works from both browser and maven.
KH-190: Do not display old relations for codes
OVT-7678: Prevent creation of relation

With codes itself. Backend implementation. Need to do GUI part as well.
Revert "OVT-7678: Prevent creation of relation"

This reverts commit 2bb08a5171c445a95bce6b58b12ef54323f12346.
OVT-7640: Toteutettu sivutus koodilistaukseen.
Merge branch 'develop' of https://github.com/Opetushallitus/koodisto into develop
OVT-7640: Korjattu hakutulosten määrän esittäminen hakukentän yhteydessä.
OVT-7410: Listoissa näkyvät lyhytNimet korjattu täyspitkiksi
OVT-7640: Korjattu sivutuksen päivitysongelma koodistosta toiseen siirryttäessä.
OVT-7620: Use natural order instead of alphabetical

When sorting codeElements by koodiArvo.
Merge branch 'develop' of https://github.com/Opetushallitus/koodisto into develop

Conflicts:
	koodisto-ui/src/main/webapp/html/codes/viewcodes.html
Fixed test by using PhantomJS plugin

Test failed in headless mode so using PhantomJS maven plugin for Jasmine
maven plugin was required.
Add phantomjsdriver.log to gitignore
KH-194: Version of codes relation references is shown

In edit and view views. Required changes to backend, KoodistoDto now
contains information about the version of codes being referenced.
OVT-7620: Additional test and support for numeric

Paging seems to affect sort somehow.
KH-198: Fix code element relation selection

Have to dig codesUri  for code relations a bit deeper now.
OVT-7620: Additional test

With more data this time.
OVT-7620: Trim strings before ordering
OVT-7620: Use typeof instead of isNaN

To verify whether object is a string.
KH-194: Show version of referenced code relation

In both view and edit code element views. Shows currently only the
latest version, which is sufficient for edit view, but need to be
modified for view view.