Do not create batch form if no batch_actions exit

Do not create a batch form if it is not needed. This way the view can contain custom HTML forms if they are needed