sql: changed name of tmp table for categories from profiles
profiles lib: couple of minor changes

They are:
 * now profiles lib is a module (used to be a class)
 * added new constant (those const its an array of filenames from
    profiles dir that contain atoms and package categories
    correspondingly)
 * added new method walks through all files from 'profiles' dir that
    may contain package atoms
151* script: some small but important changes

Instead of getting only ghost categories from package.mask files
we use new method from profiles lib that returns all possible* files,
parse them and store results in tmp table

Due to this change we also renamed our script/task
152_profile_masks: rename and tiny change