fixing bugs, excluding common platform api to own file
Merge branch 'origin/develop'

Conflicts:
	dist/smartbox.js
	dist/smartbox.min.js
upd build version