[ticket/216] Add method for checking if module can be moved

Also fixed minor issues with incorrect checks for module class 'custom'.

B3P-216