Merge pull request #1 from SHyx0rmZ/master

Fixed JS API requesting wrong URL when trying to retrieve values
Cleaned up APIs

Signed-off-by: Alexander Kluth <derhartmut@niwohlos.org>
Started refactoring of store

Signed-off-by: Alexander Kluth <derhartmut@niwohlos.org>
Merge branch 'master' of github.com:deralex/nyssrad

Conflicts:
	api/js/nyssrad.js
Fixed refactoring typo

Signed-off-by: Alexander Kluth <derhartmut@niwohlos.org>
Added new command export

exports the complete store as json

Signed-off-by: Alexander Kluth <derhartmut@niwohlos.org>
Added export to handle

Signed-off-by: Alexander Kluth <derhartmut@niwohlos.org>