Add -maxdepth option

Takes <depth> as argument, where <depth> is greater than 0 (1 meaning only specified directory). It's basically the same as find's -maxdepth option.
Add check for incorrect argument to --maxdepth