added DeviceFactory + factoryboy to setup.py

Added primitive device factory, which can be later filled with suitable fields. 

@xor-xor  @andrzej-jankowski