only master and develop branches are build by travis CI
Function to check and format directories and files

 - implemented by utils.check_dir() and utils.check_file()
 - code has been converted to support these checks
fixing runtime directory creation if not created at starting
Switch off netkit file and directory checks when in test mode
Forgetting to switch off a file check during test in previous commit
Adding a test for element.LaboratoryElement