LUN-1121: improved performance by minimising number of queries on
	directory listing view.
* disable selection for all files and folders since this will
	include the unfiled files folder and it shouldn't
* refactored template code for directory table;
* moved listing for virtual folders in template code