Special version core for write/read and only read queries to database

 - add new exception for this purpose
 - add new method isThisMaster
 - stop group synchronization if instance of perun is slave
 - stop initializing data to database if instance of perun is slave
 - stop checking memberStatus if instance of perun is slave