Merge pull request #251 from krzysiekbarca/master

missed merge from enterprise branch with abort method
TC-1668 Added used device ids to API, added sample, changed parameters from String to Map, fixed typos
Review fix
review fix
Merge pull request #257 from spawluk-bitbar/master

Master
Java version 1.7, maven-compiler-plugin 3.1
Merge pull request #258 from hkivela/master

Java version 1.7, maven-compiler-plugin 3.1
decrease target version