Recursive method to parse a directory returning paths and files.
Class: bb_main, called as $main
File: bb_main.php (php)
$full_path_array = $main->get_directory_tree($directory);
Returns: array of files and their directory paths from a root directory.
Note: method calls method
$directory (string, valid directory)
Directory to parse, usually a relative path.